
CFLAGS=	-DPOSIX -D_MINIX -D_POSIX_SOURCE -O -wo 
LDFLAGS=-fnone
BINDIR=	/usr/bin
LIBDIR= /usr/lib/i386

all:	mouse_read	

mouse_read:
	cc -o $@ mouse_read.c
	install -S 8m -cs -o bin mouse_read $(BINDIR)

clean:
	rm -f mouse_read

install:	$(BINDIR)/$(PROG) $(LIBDIR)/libxlib.a

$(BINDIR)/$(PROG):	$(PROG)
	install -S 8m -cs -o bin $@ $(BINDIR)